package com.fuqi.android.zhongcai.business.shuig.request.api;


import com.android.volley.Response.ErrorListener;
import com.android.volley.Response.Listener;
import com.fuqi.android.zhongcai.base.ApiUrl;
import com.fuqi.android.zhongcai.business.shuig.request.result.OrderListResult;
import com.fuqi.framework.network.api.AbsRequest;
import com.fuqi.framework.network.params.BaseParams;


/*
*  订单列表（订单号条件查询）接口
* */


public class QueryOrderListByConditionApi extends AbsRequest<QueryOrderListByConditionApi.QueryOrderListByConditionParams, OrderListResult[]> {

    public QueryOrderListByConditionApi(QueryOrderListByConditionParams queryOrderListByDateParams, Listener<OrderListResult[]> listener, ErrorListener errorListener) {
        super(Method.POST, ApiUrl.getOrderByCondition(), queryOrderListByDateParams, listener, errorListener, OrderListResult[].class);
    }

    public static class QueryOrderListByConditionParams extends BaseParams {

        public QueryOrderListByConditionParams(String showCount, String currentPage,String ORDER_ID) {

            put("showCount", showCount);
            put("currentPage", currentPage);;
            put("ORDER_ID", ORDER_ID);
            // ORDER_ID 订单编号
            // CONTACT_NAME 项目经理名称
            // CONTACT_PHONE 项目经理电话
            // OWNER_NAME 业主名称
            // OWNER_PHONE 业主电话
            // SALSE_NAME 销售姓名
            // INSTALL_CONTENT	 安装内容
            // ORDER_STATUS	 订单状态

        }
    }


}
